#include "SimpleColoredRenderer.h"

void SimpleColoredRenderer::scan(unsigned char* p,int len,Interpolant base,Interpolant& diff)
{
    for (;len > 0;len--,p+=3)
    {
        p[0]=base.r;
        p[1]=base.g;
        p[2]=base.b;
        base+=diff;
    }
}
